package com.yx.sentinel.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "test")
public class TestController {

    @GetMapping(value = "/1")
    public String test1() {
        return "Hello,Sentinel --> 1";
    }

    @GetMapping(value = "/2")
    public String test2() {
        return "Hello,Sentinel --> 2";
    }
}
